﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DDBuildTools.DataAccess.Components
{
    /// <summary>
    /// 表实体类
    /// </summary>
    public class TableEntity
    {
        #region "Private Variables"
        private string _DataBaseCode;
        private string _TableCode;
        private string _TableName;        
        private List<TableColume> _TableColume = new List<TableColume>();
        #endregion

        #region "Public Variables"
        /// <summary>
        /// 数据库名称
        /// </summary>
        public string DataBaseCode
        {
            get {
                return _DataBaseCode;
            }
            set {
                _DataBaseCode = value;
            }
        }
        /// <summary>
        /// 表代码
        /// </summary>
        public string TableCode
        {
            get {
                return _TableCode;
            }
            set {
                _TableCode = value;
            }
        }
        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName
        {
            get {
                return _TableName;
            }
            set {
                _TableName = value;
            }
        }
        /// <summary>
        /// 列定义集合
        /// </summary>
        public List<TableColume> TableColume
        {
            get {
                return _TableColume;
            }
            set {
                _TableColume = value;
            }
        }
        #endregion
    }


}
